﻿using Org.LyrcsoftFramework.Cloud.OpenFeign.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFeignTest.Feign.Service
{
    //[FeignClient(Url = "http://127.0.0.1:5000", IsIgnoreHttpsCertificateValidate = true, Timeout = 100)]
    [FeignClient(ServiceName = "WebApiTest", MicroServiceMode = true, IsIgnoreHttpsCertificateValidate = true, Timeout = 100)]
    public interface ITestFeignSerivce
    {
        [GetMapping("/api/echo")]
        Task<IEnumerable<String>> Get();
    }
}
